﻿using UnityEngine;
using System.Collections;

public class cameraYaw : MonoBehaviour {

	public float rotationSpeed = 100;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		//MOUSE MOVEMENT
		float yaw = Input.GetAxis("Mouse X") * rotationSpeed;
		yaw *= Time.deltaTime;
		transform.Rotate(0, yaw, 0);
	}
}
